export default ({
  components: {},
  data() {
    return {
      tools: [{
        name: '社保计算',
        url: '/tools/shebao/index',
        icon: '/static/img/tools/sbjsq.png'
      }, {
        name: '税率查询',
        url: '/tools/shuilv/index',
        icon: '/static/img/tools/slcx.png'
      }, {
        name: '利息计算',
        url: '/tools/lixi/index',
        icon: '/static/img/tools/lxjs.png'
      },{
        name: '办税日历',
        url: '/tools/bsrl/index',
        icon: '/static/img/tools/taxDate.png'
      }, {
        name: '违约金计算器',
        url: '/tools/wyj/index',
        icon: '/static/img/tools/penal-sum.png'
      }, {
        name: '房贷计算器',
        url: '/tools/fd/index',
        icon: '/static/img/tools/fdjsq.png'
      }, {
        name: '个税计算器',
        url: '/tools/gs/index',
        icon: '/static/img/tools/gsjsq.png'
      }, {
        name: '增值税计算器',
        url: '/tools/zzs/index',
        icon: '/static/img/tools/zzsjsq.png'
      }],
    }
  },
  computed: {},
  methods: {
    goTools(url) {
      uni.navigateTo({
        url: url
      })
    }
  },
  watch: {},

  // 页面周期函数--监听页面加载
  onLoad() { },
  // 页面周期函数--监听页面初次渲染完成
  onReady() { },
  // 页面周期函数--监听页面显示(not-nvue)
  onShow() { },
  // 页面周期函数--监听页面隐藏
  onHide() { },
  // 页面周期函数--监听页面卸载
  onUnload() { },
})